package com.coda.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户设置
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserSetting implements Serializable {
    //主键
    private Integer id;
    //用户id
    private Integer userId;
    //每日目标
    private Integer dailyGoal;
    //难度（0简单，1普通，2困难）
    private String difficulty;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;

}
